package com.bootdo.program.wallpaper.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.program.wallpaper.dao.BzDeductionDao;
import com.bootdo.program.wallpaper.domain.BzDeductionDO;



@Service
public class BzDeductionService {
	@Autowired
	private BzDeductionDao bzDeductionDao;
	

	public BzDeductionDO get(Integer id){
		return bzDeductionDao.get(id);
	}
	

	public List<BzDeductionDO> list(Map<String, Object> map){
		return bzDeductionDao.list(map);
	}
	

	public int count(Map<String, Object> map){
		return bzDeductionDao.count(map);
	}
	

	public int save(BzDeductionDO bzDeduction){
		return bzDeductionDao.save(bzDeduction);
	}
	

	public int update(BzDeductionDO bzDeduction){
		return bzDeductionDao.update(bzDeduction);
	}
	

	public int remove(Integer id){
		return bzDeductionDao.remove(id);
	}
	

	public int batchRemove(Integer[] ids){
		return bzDeductionDao.batchRemove(ids);
	}
	
}
